package com.mf.all.entity.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.Data;

import java.io.Serial;

/**
 * 采购物料明细
 *
 * @date 2025-04-02 22:36:45
 */
@Data
@TableName("t_purchase_note_detail")
public class DtoPurchaseNoteDetail implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId

    private Integer id;
    /**
     * 物料名称
     */

    private String materialName;
    /**
     * 物料编号
     */

    private String materialCode;
    /**
     * 物料id
     */

    private Integer materialId;
    /**
     * 物料单位
     */

    private String materialSize;
    /**
     * 物料单位
     */

    private String materialUnit;
    /**
     * 采购商id
     */

    private Integer customerId;
    /**
     * 采购数量
     */

    private Integer quantity;
    /**
     * 0-待采购；10-采购中；20-全部采购完成；30-部分采购完成
     */

    private Integer status;
    /**
     * 收到数量
     */

    private Integer quantityReceived;
    /**
     * 关联的采购单id
     */

    private Integer purchaseNoteId;
    /**
     *
     */

    private LocalDateTime createdTime;
    /**
     *
     */

    private LocalDateTime updateTime;

}
